@layout("/common/_container.html"){
<div class="ibox float-e-margins ">
    <div class="ibox-content" style="padding: 0;">
        <div style="display: none">
            <input type="hidden" id="cashDailySelection" value="">
            <input type="hidden" id="sttleAccountsTime" value="${sttleAccountsTime}">
            <input type="hidden" id="settleAccounts" value="0">
            <input type="hidden" id="menuName" value="结账退款-现金日报">
        </div>
        <div class="numStatistics">
            <div id="aa" onclick="CashDailyReport.cashDaily1()"><span>全院现金日报</span></div>
            <div  onclick="CashDailyReport.cashDaily2()"><span>科室现金日报</span></div>
        </div>
        <div class="timeButton">
            <div class="timeBox">
                <div>
                    <span>时间</span>
                    <input type="text" autocomplete="off" id="startTime" onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm:ss',choose:checkDate})">
                    <span>-</span>
                    <input type="text" autocomplete="off" id="endTime" onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm:ss',choose:checkDate})">
                </div>
                <div>
                    <button type="button" class="btn actionClick" onclick="CashDailyReport.naturalDaySearch()">自然时间</button>
                    <button type="button" class="btn" onclick="CashDailyReport.settleAccounts()">扎帐时间</button>
                </div>
                <div>
                    <select type="text" name="equation" id="equation" onchange="dynamicForm()">
                        <option value="1">实收金额</option>
                        <option value="2">实到金额</option>
                    </select>
                </div>
            </div>
            <div class="buttonBox">
                <div>
                    <button type="button" class="btn" onclick="CashDailyReport.resetSearch()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/empty.png"><span>重置</span></button>
                    <button type="button" class="btn" onclick="CashDailyReport.search()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/refresh.png"><span>刷新</span></button>
                    @if(shiro.hasPermission("/recharge/export")){
                    <button type="button" class="btn" onclick="$('#CashDailyReportTable').tableExport({ type: 'excel', escape: 'false' })">
                        <img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/export.png"><span>导出</span></button>
                    @}
                </div>
            </div>
        </div>
        <div class="tableBox">
            <#table id="CashDailyReportTable"/>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/report/cash_daily_report.js?v=20200628"></script>
<script src="${ctxPath}/static/modular/arrival/customer/foregroundSearchContent.js?v=20200628"></script>
@}